home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 8
/
Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso
/
Aminet
/
comm
/
uucp
/
AmigaUUCP1_16.lha
/
AmigaUUCP
/
contrib
/
doc
/
node_report.doc
< prev
next >
Wrap
Text File
|
1992-02-15
|
2KB
|
52 lines
This program generates node activity and traffic statistics for your UUCP
node. It is designed to work with Matt Dillon's UUCP software, v1.15. It
opens uuspool:timelog and reads it, compiling a report (node.report, written
in the current directory), listing various statistics for each node found in
the timelog. The report contains mail header information (suitable for
direct feed to sendmail) for 'Postmaster' at each node for which statistics
are found in the timelog.
Usage:
node_report
produce the report for the current month
node_report -l
produce the report for last month
node_report mmm
produce the report for month 'mmm'
To make this software an integrated part of your UUCP suite, you should have
crontab entries like this:
# S:CRONTAB
#
#min hr day mon dow command
# generate and send out activity report for last month on 2nd of this month
0 1 2 * * execute uucp:sc/report_activity
# ... and then trim the timelog back
0 4 2 * * uucp:c/trimfile uuspool:timelog
This crontab entry calls the script file report_activity, which should look
something like this:
;Report_Activity
; generate and mail activity reports
node_report -l ;parameter means use last month...
sendmail <uucp:node.report -f postmaster
Legal Stuff:
You are free to use this program, and to distribute it to others, as long as
no fee is charged for it. I am making it available to others for nothing; it
is my intention that others should not receive compensation for it since I do
not. This file, unmodified, must accompany any such distribution.
RW Salnick
Spokane, WA
salnick@dejavu.spk.wa.us